package com.gavin.log.facade;

public class FacadeClient {
    private LivingRoomLight livingRoomLight=new LivingRoomLight();
    private BadRoomLight badRoomLight=new BadRoomLight();
    private HallLight hallLight=new HallLight();

    public void on(){
        livingRoomLight.on();
        badRoomLight.on();
        hallLight.on();
    }
    public void off(){
        livingRoomLight.off();
        badRoomLight.off();
        hallLight.off();
    }
}
